package com.erhuogo.action;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.erhuogo.entity.Commend;
import com.erhuogo.service.CommendService;
import com.opensymphony.xwork2.ActionSupport;

/**
 * 点赞Action
 * @author aibinxiao
 * @date 2016年10月26日 上午11:29:54
 */
public class CommendAction extends ActionSupport{
	private static final long serialVersionUID = 5324942845727674293L;
	private static Logger logger = LoggerFactory.getLogger(CommendAction.class);
	
	// 模型驱动使用的对象
	private Commend commend;

	public Commend getCommend() {
		return commend;
	}

	public void setCommend(Commend commend) {
		this.commend = commend;
	}
	
	// 注入CommendService
	private CommendService commendService;

	public CommendService getCommendService() {
		return commendService;
	}

	public void setCommendService(CommendService commendService) {
		this.commendService = commendService;
	}
}
